﻿using Infrastructure.DomainEvent;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;

namespace Infrastructure.UniOfWorkBase
{
    //表示EF的工作单元接口，因为DbContext是EF的对象
    public interface IEFUnitOfWork : IUnitOfWorkRepositoryContext
    {
        IEventDispatcher eventDispatcher { get; }
        DbContext dbContext { get; }
       
    }
}
